package com.jingdianjichi.subject.domain.convert;


import com.jingdianjichi.subject.domain.entity.SubjectCategoryBO;
import com.jingdianjichi.subject.domain.entity.SubjectLabelBO;
import com.jingdianjichi.subject.infra.basic.entity.SubjectCategory;
import com.jingdianjichi.subject.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectLabelBOConverter {
    SubjectLabelBOConverter INSTANCE =Mappers.getMapper(SubjectLabelBOConverter.class);

    //BO转SubjectLabel
    SubjectLabel convertBoToLabel(SubjectLabelBO subjectLabelBO);
    //SubjectLabel转BO
    List<SubjectLabelBO> convertListToBo(List<SubjectLabel> labelList);


}
